import Vue from 'vue'
import Vuex from 'vuex'
import Music from '@/store/Music/index.js'
import Login from '@/store/Login/index.js'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
    changeIsInitSongList(context) {
      setTimeout(() => {
        context.commit('isPlayTrue')
      }, 0)
    }
  },
  modules: { Music, Login }
})
